import { Component, OnInit, ElementRef, Renderer2 } from '@angular/core';
@Component({
  selector: 'ion-item',
  template: '<ng-content></ng-content>',
  styles: [`
    :host.list-group-item:hover {
      color: #f00 !important;
      cursor: pointer;
    }
  `]
})
export class IonItemComponent implements OnInit {
  constructor(private ref: ElementRef, private r2: Renderer2) {
    const el = this.ref.nativeElement;
    this.r2.addClass(el, 'list-group-item');
  }

  ngOnInit() {
  }

}
